// 调用原生接口发送cmd
export const sendCMD = (cmdKey, cmd) => {
    const remoteVars = window.electron.remote.getGlobal("remoteVars");
    Promise.resolve().then(() => {
        remoteVars.sendServiceMsg(cmdKey, JSON.stringify(cmd));
    });
};
